@layout("/common/_container.html"){
<script type="text/javascript" charset="utf-8" src="${ctxPath}/static/ueditor/ueditor.config.js"></script>
<script type="text/javascript" charset="utf-8" src="${ctxPath}/static/ueditor/ueditor.all.js"> </script>
<!--建议手动加在语言，避免在ie下有时因为加载语言失败导致编辑器加载失败-->
<!--这里加载的语言文件会覆盖你在配置项目里添加的语言类型，比如你在配置项目里配置的是英文，这里加载的中文，那最后就是中文-->
<script type="text/javascript" charset="utf-8" src="${ctxPath}/static/ueditor/lang/zh-cn/zh-cn.js"></script>
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal">

            <div class="row">
                <div class="col-sm-6 b-r">
                            <input id="id" value="${item.id}" type="hidden"/>
                            <#input id="title" name="标题" value="${item.title}" underline="true"/>
                            <#input id="template" name="模板" value="${item.template}" underline="true"/>

                    <input id="content" type="hidden"/>
                </div>

                <div class="col-sm-6">
                            <#input id="order" name="排序" value="${item.order}" />
                </div>
            </div>

            <script id="editor" type="text/plain" style="margin:auto;width:100%;height:500px;">${item.content}</script>


            <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="ArticleInfoDlg.editSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="ArticleInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script src="${ctxPath}/static/modular/article/article/article_info.js"></script>
@}
